feat: enable local repos without GitHub login#20
Merged
steipete merged 4 commits intosteipete:mainfrom Jan 22, 2026
Merged
Conversation
Add a new "Local" filter option in the repository filter bar that displays all git repositories found in the configured local folder, including repos that don't have GitHub remotes (local-only repos). Changes: - Add `local` case to MenuRepoSelection enum with isLocalScope property - Add RepositoryDisplayModel initializer for local-only repos - Add isLocalOnly computed property for future submenu handling - Fix LocalRepoManager to scan ALL discovered repos, not just GitHub-matching - Reduce filter picker size to accommodate 4 filter options This enables users to see and manage local repositories that exist only on their machine without requiring a GitHub remote. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
ca9e057 to
9c58d6b
Compare
- Use repo.id instead of repo.title for menu cache keys (fixes duplicate name issues) - Remove cached menu items from parent menu before reusing (prevents crash) - Defer menu rebuild to next run loop to avoid modifying during layout - Filter worktrees from Local scope (accessible via parent's Switch Worktree submenu) - Handle duplicate fullNames in LocalRepoIndex (worktrees share same remote) - Change filter label from "Loc" to "Local" Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Allow users to view local repositories without signing into GitHub. The local scanning infrastructure was already independent - this change unlocks the UI by: - Adding isLoggedIn helper to AccountState for cleaner guard logic - Showing filter bar when logged out if local folder is configured - Showing repo list for local scope when logged out - Only displaying "Local" filter option when not signed in - Auto-selecting local filter when user logs out Users can now use RepoBar purely for local git repository management without requiring a GitHub account. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
9c58d6b to
67a9fc7
Compare
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Enable users to view and manage local repositories without signing into GitHub. The local scanning infrastructure was already independent - this change unlocks the UI.
Changes
isLoggedInhelper toAccountStatefor cleaner guard logicWhy
Users can now use RepoBar purely for local git repository management without requiring a GitHub account. This makes the app useful for:
Test plan
🤖 Generated with Claude Code